package chapter04;

public class BookTest {
    public static void main(String[] args){

        Book book = new Book();

        String info = book.getBookInfo();//获取图书信息



        String bookNameSetBefore = book.getBookName();
        System.out.println("------------");

        book.setBookName("难哄");

        String bookNameSetAfter = book.getBookName();
        System.out.println(bookNameSetAfter);
        System.out.println("---··--·----·------··------··---");
        book.setPrice(9.9);
        book.setAuthor("竹已");
        book.setPublisher("凤凰文艺出版社");


        System.out.println(book.getBookInfo());

    }
}
